<%@ page language="java" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>作业</title>
</head>
<body>
    一千年以后是多少年，从输入的年开始
    <div>
        <form action="/chapter10/getYear" method="get">
            <input type="text" name="year" /><br>
            <input type="submit" value="提交"/>
        </form>
    </div>
</body>
</html>